package Code.Basic.World;

import org.jrabbit.standard.game.main.GameLoop;

import net.phys2d.math.Vector2f;
import net.phys2d.raw.World;

public class PhysicsInstance extends World
{
	
	public PhysicsInstance()
	{
		super(new Vector2f(0, 0), PhysicsInfo.NUM_ITERATIONS);
	}

	public void update(double delta)
	{
		GameLoop.current().profiler().start("Physics");
		step();
		GameLoop.current().profiler().end("Physics");
	}
}
